<%@ page contentType="text/html; charset=UTF-8" language="java"%>
<%@ include file="/commons/pages/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
</head>
<body>
<div class="subtitle">
  <h3>编辑信息</h3>
</div>
<s:form action="AssignMeterData!save.action" method="post" name="form">
  <s:token />
  <input type="hidden" name="model.id" value="<s:property value='model.id'/>"/>
  <input type="hidden" name="model.jzq_num" value="<s:property value='model.jzq_num'/>"/>
  <input type="hidden" name="model.file_id" value="<s:property value='model.file_id'/>"/>
  <table width="100%" border="0" cellpadding="5" cellspacing="1" class="tbl_list">
    <tr>
      <th width="16%" align="right">分配表表号：</th>
      <td width="84%"><input name="model.serious_num" type="text" class="webinput" size="25" value="<s:property value='model.serious_num'/>" /></td>
    </tr>
    <tr>
      <th width="16%" align="right"><font color="red">*</font>读数：</th>
      <td width="84%"><input name="model.read_num" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请填写" value="<s:property value='model.read_num'/>"/></td>
    </tr>
    <tr>
      <th width="16%" align="right"><font color="red">*</font>分配表读数对应时间：</th>
      <td width="84%"><input name="model.read_time" type="text" class="webinput" size="25" dataType="DateTime" msg="请按说明正确填写" value="<s:date name='model.read_time' format="yyyy-MM-dd HH:mm:ss"/>"/></td>
    </tr>
    <tr>
      <th width="16%" align="right"><font color="red">*</font>背板温度：</th>
      <td width="84%"><input name="model.back_temp" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请填写" value="<s:property value='model.back_temp'/>"/>℃</td>
    </tr>
    <tr>
      <th width="16%" align="right"><font color="red">*</font>前板温度：</th>
      <td width="84%"><input name="model.from_temp" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请填写" value="<s:property value='model.from_temp'/>"/>℃</td>
    </tr>
    <tr>
      <th width="16%" align="right"><font color="red">*</font>抄表时间：</th>
      <td width="84%"><input name="model.record_time" type="text" class="webinput" size="25" dataType="DateTime" msg="请按说明正确填写" value="<s:date name='model.record_time' format="yyyy-MM-dd HH:mm:ss"/>"/></td>
    </tr>
    <tr>
      <th width="16%" align="right">去年：</th>
      <td width="84%"><input name="model.last_year_num" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字填写" require="false" value="<s:property value='model.last_year_num'/>"/></td>
    </tr>
    <tr>
      <th width="16%" align="right">1月：</th>
      <td width="84%"><input name="model.january" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字填写" require="false" value="<s:property value='model.january'/>"/></td>
    </tr>
    <tr>
      <th width="16%" align="right">2月：</th>
      <td width="84%"><input name="model.february" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字填写" require="false" value="<s:property value='model.february'/>"/></td>
    </tr>
    <tr>
      <th width="16%" align="right">3月：</th>
      <td width="84%"><input name="model.march" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字填写" require="false" value="<s:property value='model.march'/>"/></td>
    </tr>
    <tr>
      <th width="16%" align="right">4月：</th>
      <td width="84%"><input name="model.april" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字填写" require="false" value="<s:property value='model.april'/>"/></td>
    </tr>
    <tr>
      <th width="16%" align="right">5月：</th>
      <td width="84%"><input name="model.may" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字填写" require="false" value="<s:property value='model.may'/>"/></td>
    </tr>
    <tr>
      <th width="16%" align="right">10月：</th>
      <td width="84%"><input name="model.october" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字填写" require="false" value="<s:property value='model.october'/>"/></td>
    </tr>
    <tr>
      <th width="16%" align="right">11月：</th>
      <td width="84%"><input name="model.november" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字填写" require="false" value="<s:property value='model.november'/>"/></td>
    </tr>
    <tr>
      <th width="16%" align="right">12月：</th>
      <td width="84%"><input name="model.december" type="text" class="webinput" size="25" dataType="Ftdfnum" msg="请用数字填写" require="false" value="<s:property value='model.december'/>" /></td>
    </tr>
    <tr>
      <th>&nbsp;</th>
      <td><input type="submit" class="websub" value="提 交" />
        <input type="button" class="websub" onclick="history.back();" value="返 回" /></td>
    </tr>
  </table>
</s:form>
<script src='/commons/scripts/validator.js'></script> 
<script type="text/javascript">
$j(document).ready(function(){
	form.onsubmit = function () {
		return Validator.Validate(this, 3);
	}
});
</script>
</body>
</html>
